2008-01-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
the notify::model signal. (#509819, David Zeuthen)
svn path=/trunk/; revision=19374
+2008-01-16 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
+ the notify::model signal. (#509819, David Zeuthen)
+
2008-01-15 Michael Natterer <mitch@imendio.com>
* gdk/gdkdisplay.h
gtk_combo_box_unset_model (combo_box);
if (model == NULL)
- return;
+ goto out;
combo_box->priv->model = model;
g_object_ref (combo_box->priv->model);
if (combo_box->priv->cell_view)
gtk_cell_view_set_model (GTK_CELL_VIEW (combo_box->priv->cell_view),
combo_box->priv->model);
+
+out:
+ g_object_notify (G_OBJECT (combo_box), "model");
}
/**